<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class Channel extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'channels';


    public function logs()
    {
        return $this->hasMany(ChannelLog::class, 'channel_id', 'id');
    }

}
